package com.example.bean;

import jakarta.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GetApplication {
    @Value("${spring.datasource.url}")
    private String key;
    @Value("${spring.datasource.username}")
    private String key1;

    @Value("${spring.datasource.username}")
    private String key2;
    @Value("${Serve.bit}")
    private String key3;
    @PostConstruct
    public void getKey(){
        System.out.println(key3);

    }

}
